
با سلام خدمت همه دوستان و عزیزان .
در این پست سورس کامل نرم افزار مدیریت کتابخانه به زبان سی پلاس پلاس را قرار داده ام تا شاید مورد استقبال شما عزیزان قرار گیرد . با تشکر از بازدید شما عزیزان .
#include<iostream.h>
#include<constream.h>
#include<stdlib.h>
#include<graphics.h>
#include<dos.h>
intn,n1;
inti;
intinc=0;
intinc1=0;
classbook
{
public:
intbookcode;
charbookname[20];
charauthorname[20];
charbookpub[20];
intbookprice;
intstatus;
public:
voidaddbook()
{
clrscr();
status=1;
cout<<"\t\t\t YOU HAVE CHOSEN TO ADD BOOK DETAILS"<<endl;
cout<<"\t\t\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"<<endl;
cout<<endl;
inc++;
bookcode=100+inc;
cout<<"\n\tBook code :"<<bookcode;
cout<<endl;
cout<<"\n\tEnter book name :";
cin>>bookname;
cout<<"\n\tEnter author name :";
cin>>authorname;
cout<<"\n\tEnter publishing company :";
cin>>bookpub;
cout<<"\n\tEnter book price :";
cin>>bookprice;
}
voiddispbook()
{
cout<<bookcode<<"\t\t"<<bookname<<"\t\t"<<authorname<<"\t\t"<<bookpub<<"\t\t"<<bookprice<<endl;
}
voidliststat()
{
if(status==1)
{
cout<<"\t\tBookcode:"<<bookcode<<"\t\tStatus:Available"<<endl;
cout<<endl;
}
else
{
cout<<"\t\tBookcode:"<<bookcode<<"\t\tStatus:Issued"<<endl;
cout<<endl;
}
}
};bookb[10];
برای مشاهده کامل کد ها , لطفا به ادامه مطلب رجوع کنید .
:: موضوعات مرتبط:
برنامه سازی پیشرفته ,
,
:: برچسبها:
سورس زبان سی پلاس پلاس ,